package datastructure.queue;

/**
 * @author XY
 * @version 1.0
 * @date 2021/8/31 16:38
 * @Description
 */
public class Main {

    public static void main(String[] args) {
        ArrayQueue<Integer> queue = new ArrayQueue<>();
        for (int i = 0; i < 5; i++) {
            queue.enqueue(i);
        }
        System.out.println(queue);
        queue.dequeue();
        System.out.println(queue);
    }
}
